[PATCH] sh: Implement __get_user_u64() required for 64-bit get_user()
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Thu, 11 Jun 2020 07:52:15 +0000 (09:52 +0200)
committerSalvatore Bonaccorso <carnil@debian.org>
Sat, 10 Oct 2020 19:40:31 +0000 (20:40 +0100)
commit7986b1287517e21ccec05f9a5684f6804a8280c5
tree326d51ad4e5d57ab714fb9413c3ae4933fada34b
parentba157935676bf7e1c40fc0024570b06403f362cf
[PATCH] sh: Implement __get_user_u64() required for 64-bit get_user()

Trying to build the kernel with CONFIG_INFINIBAND_USER_ACCESS enabled fails

     ERROR: "__get_user_unknown" [drivers/infiniband/core/ib_uverbs.ko] undefined!

with on SH since the kernel misses a 64-bit implementation of get_user().

Implement the missing 64-bit get_user() as __get_user_u64(), matching the
already existing __put_user_u64() which implements the 64-bit put_user().

Gbp-Pq: Topic bugfix/sh
Gbp-Pq: Name sh-implement-__get_user_u64.patch
arch/sh/include/asm/uaccess_32.h